package shared;

/**
 * The MyComparable class contains a single comparable.
 */
public class MyComparable<T extends Comparable<? super T>> implements SortInput<T>{

	private final T comparable;
	public MyComparable(final T comparable) {
		this.comparable = comparable;
	}
	public T getComparable() {
		return comparable;
	}
	@Override
	public void accept(final SortInputVisitor<T> visitor) {
		visitor.visit(this);
	}


}
